package communication;


/**
 * Radiation alarm class
 * @author Adrien Ledeul
 * @version 0.1
 */
public class GasAlarm extends Alarm
{
	private static final long serialVersionUID = 1L;
	
	private String type;
	
	/**
	 * Constructors
	 * 
	 */
	public GasAlarm(String date, String place, int priority, String type) 
	{
		super(date, place, priority);
		this.type = type;
	}

	/**
	 * Getters & Setters
	 * 
	 */
	public String getType() 
	{
		return type;
	}

	public void setType(String type) 
	{
		this.type = type;
	}
}
